// AnsiAttribute.h: interface for the CAnsiAttribute class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ANSIATTRIBUTE_H__9F0CB1AE_5FB4_4F78_A9CB_E4CBA04C3DE6__INCLUDED_)
#define AFX_ANSIATTRIBUTE_H__9F0CB1AE_5FB4_4F78_A9CB_E4CBA04C3DE6__INCLUDED_

#include "AnsiConstsDef.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CAnsiAttribute
{
public:

	BOOL bBlink;
	BOOL bUnderLine;
	BOOL bInverse;
	BOOL bHighLight;

	ANSI_COLOR nBackColor;
	ANSI_COLOR nForeColor;

	ANSI_FONT nFontIndex;
public:
	
	COLORREF GetRgbForeColor();
	COLORREF GetRgbBackColor();

	void Reset();
	CAnsiAttribute();
};

#endif // !defined(AFX_ANSIATTRIBUTE_H__9F0CB1AE_5FB4_4F78_A9CB_E4CBA04C3DE6__INCLUDED_)
